package com.mime.qweibo.utils;

public class QWeiboType {
	/**
	 * The format of response string.
	 *
	 */
	public enum ResultType {
		ResultType_Xml, ResultType_Json
	}
	/**
	 * The page flag to fetch messages.
	 *
	 */
	public enum PageFlag {
		PageFlag_First, PageFlag_Next, PageFlag_Last
	}
	/**
	 * message related identifications return from the server
	 * @author xiang.jianhua
	 *
	 */
	public class RetMsgHeader{
		public static final String RET = "ret";
		public static final String MSG = "msg";
		public static final String DATA = "data";
		public static final String ERRCODE = "errcode";
	}
	public class Data{
		public static final String  TIMESTAMP = "timestamp";
		public static final String  HASNEXT = "hasnext";
		public static final String  INFO = "info";		
	}
	public class Info{
		public static final String TEXT = "text";
		public static final String ORIGTEXT = "origtext";
		public static final String COUNT = "count";
		public static final String MCOUNT = "mcount";
		public static final String FROM = "from";
		public static final String ID = "id";
		public static final String IMAGE = "image";
		public static final String NAME = "name";
		public static final String NICK = "nick";
		public static final String UID = "uid";
		public static final String SOURCE = "source";
		public static final String SELF = "self";
		public static final String TIMESTAMP = "timestamp";
		public static final String TYPE = "type";
		public static final String HEAD = "head";
		public static final String LOCATION = "location";
		public static final String ISVIP = "isvip";
		public static final String GEO = "geo";		
	}
	public class InfoType{
		public static final int Info_Orig = 1;
		public static final int Info_Cast = 2;
		public static final int Info_Private =3;
		public static final int Info_Reply = 4;
		public static final int Info_EmptyReply = 5;
		public static final int Info_Refer = 6;
	}
	public class WeiboListType{
		public static final int Cast_list = 0;
		public static final int Comment_list = 1;
		public static final int Cast_Comment_list = 2;
	}

	public class UserInfo{
		public static final String NAME = "name";
		public static final String NICK = "nick";
		public static final String UID = "uid";
		public static final String HEAD = "head";
		public static final String LOCATION = "location";
		public static final String COUNTRY_CODE = "country_code";
		public static final String PROVINCE_CODE = "province_code";
		public static final String CITY_CODE = "city_code";
		public static final String ISVIP = "isvip";
		public static final String ISENT = "isent";
		public static final String INTRODUCTION = "introduction";
		public static final String VERIFYINFO = "verifyinfo";
		public static final String BIRTH_YEAR = "birth_year";
		public static final String BIRTH_MONTH = "birth_month";
		public static final String BIRTH_DAY = "birth_day";
		public static final String SEX = "sex";
		public static final String FANSNUM = "fansnum";
		public static final String IDOLNUM = "idolnum";
		public static final String TWEETNUM = "tweetnum";
		public static final String TAG = "tag";	
		public static final String TAGID = "id";	
		public static final String TAGNAME = "name";	
	}
	
}
